package com.loan.repository;

import com.loan.entity.Notice;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


/**
 * Created by huxudong on 17/7/1.
 */
public interface NoticeRepository extends JpaRepository<Notice,Long> {

    public List<Notice> findAllByOrderByATimeDesc();
}
